package com.awifi.dbus.service;

/**
 * Created by yhy on 17-6-1.
 */
public interface SNMPService {

    //存放采集信息的类
    class DevInfo{
        private String ip;
        private Integer vendor;
        private Integer model;

        public DevInfo(String ip, Integer vendor, Integer model) {
            this.ip = ip;
            this.vendor = vendor;
            this.model = model;
        }

        public String getIp() {
            return ip;
        }

        public void setIp(String ip) {
            this.ip = ip;
        }

        public Integer getVendor() {
            return vendor;
        }

        public void setVendor(Integer vendor) {
            this.vendor = vendor;
        }

        public Integer getModel() {
            return model;
        }

        public void setModel(Integer model) {
            this.model = model;
        }

        @Override
        public String toString() {
            return "DevInfo{" +
                    "ip='" + ip + '\'' +
                    ", vendor=" + vendor +
                    ", model=" + model +
                    '}';
        }
    }


    void work();
}
